<!--
 * @Author: WLang
 * @LastEditors: WLang
 * @Description: 
 * @Date: 2023-07-13 18:14:30
 * @LastEditTime: 2023-07-13 18:43:39
 * @FilePath: \myblog\src\mviews\components\NavBar.vue
-->
<template>
  <van-nav-bar
  :title="barTitle"
  left-text="返回"
  left-arrow
  @click-left="onClickLeft"
  />
</template>

<script>
export default {
  components:{},
  data(){
    return {
    }
  },
  props: {
    barTitle: {
      type:String
    }
  },
created(){},
mounted(){},
watch:{},
computed:{},
methods:{
  onClickLeft() {
    this.$router.back()
  }
},
}
</script>
<style  scoped>
</style>